/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controle.controladores;

/**
 *
 * @author Taeko
 */
public class proporcional extends ControladorAbstrato{

    public proporcional(double Kp){ // mamsms
        super(Kp,0,0);
    }
    
    @Override
    public double valorControle(double leitura, double h) {
        return leitura*Kp;
    }
    
}
